package com.weds.data_sync.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Description 表处理器注解
 * @Author lihw
 * @Date 2024/1/15 14:12
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface TableProcessorAnnotation {

    @AliasFor("tableName")
    String value() default "";

    @AliasFor("value")
    String tableName() default "";

    @AliasFor(annotation = Component.class, attribute = "value")
    String beanName() default "";
}
